package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.dto.BindFamilyDto;
import com.zzyl.nursing.vo.FamilyElderVo;

import java.util.List;

public interface IFamilyMemberElderService  extends IService<FamilyMemberElder> {
    /**
     * 添加家属
     * */
    void add(BindFamilyDto dto);
    /**
     * 查询我的家人（老人）列表
     * */
    List<FamilyMemberElder> getMyElders();
    /**
     * 查看已绑定家人列表（分页查询)
     * */
    List<FamilyElderVo> listByPage(Integer pageNum, Integer pageSize);

    
}
